package com.ruoyi.deal.deal_service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易服务信息对象 deal_service
 * 
 * @author zhezhi
 * @date 2022-10-06
 */
public class DealService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交易服务id */
    private Long serviceId;

    /**
     * 前面在其他模块直接在这里添加的写法其实在真实的开发中是不合规的，需要在进行封装了然后继承
     *
     */
    /** 帮养之ID */
//    @Excel(name = "帮养之家ID")
//    private Long commerceName;


    /** 帮养之家名称 */
    @Excel(name = "帮养之家名称")
    private String commerceName;

    /** 类型（0通知，1返图，2视频） */
    @Excel(name = "类型", readConverterExp = "0=通知，1返图，2视频")
    private String type;

    /** 内容 */
    @Excel(name = "内容")
    private String serviceContents;

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setCommerceName(String commerceName) 
    {
        this.commerceName = commerceName;
    }

    public String getCommerceName() 
    {
        return commerceName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setServiceContents(String serviceContents) 
    {
        this.serviceContents = serviceContents;
    }

    public String getServiceContents() 
    {
        return serviceContents;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serviceId", getServiceId())
            .append("commerceName", getCommerceName())
            .append("type", getType())
            .append("serviceContents", getServiceContents())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
